how to load data into multiple tables using sql loader
how to load data into multiple tables using sql loader
Discover how to load data into multiple tables using sql loader, include the articles, news, trends, analysis and practical advice about how to load data into multiple tables using sql loader on alibabacloud.com
Oracle can quickly load data, which is much faster than the previous batch Insertion Method (1 kW records took nearly 2 minutes ).
Prepare data files
Generate 1 million records in the memory vector and write them to the specified data file.
# Include # Include
# Include # I
= "file size:" + (inputfile. postedfile. contentlength/1024). tostring () + "K byte (s )";}Else{Labelupresult. Text = "select the file you want to upload! ";Labelfilename. Text = "";Labelfileext. Text = "";Labelfilesize. Text = "";}
}
Private void button2_click (Object sender, system. eventargs E){Sqlconnection conn = new sqlconnection (configurationsettings. etettings ["DSN"]);// Connect to the Excel Data SourceString excelconnstring = @ "provider =
[4], the OGC method on the geometry instance: http://msdn.microsoft.com/zh-cn/visualc/bb933960.aspx[5], the extension method on the geometry instance: http://msdn.microsoft.com/zh-cn/library/bb933880.aspx[6], OGC static geometry method: Http://msdn.microsoft.com/zh-cn/library/bb933894.aspx[7], Extended static geometry method: Http://msdn.microsoft.com/zh-cn/library/bb933805.aspx
Copyright notice
This article is an original article, welcome to reprint and note the source of the artic
The fact that the data in the SQL Server table is exported conditionally to multiple Excel files is what we want to introduce in this article, in a SQL Server database operation, you ne
1. The control file contains the data to be loaded.
First, create a test table.
SQL> showUser
USERIs"ING"
SQL>CreateTableDept
2 (deptno number (10)ConstraintDept_pkPrimaryKey,
3 dname varchar2 (20 ),
4 loc varchar2 (20 ));
The table has been created.
Create a control file (including the loaded data)
[Oracl
Tags: emptying data for all tables in a database using SQL statementsRecently found that the database is too large, the space is not enough, so it is intended to complete the database of data cleanup, but the table is very many, o
One of the most important preparations in performance testing is preparing test data. Before performing a performance test, make sure that you have enough data in your test database to test it. For data preparation, sometimes I use LoadRunner to generate the appropriate scri
How to import data to oracle database using SQL * loader, loaderoracle
When you need to import massive data into the database, the efficiency of using the graphical interface tool is very low. Here we will briefly introduce how
Tags: Oracle training Oracle Video Oracle Database tutorial Oracle Video Tutorial Oracle Video tutorial goals NBSP;NBSP;NBSP; Oracle video tutorial, wind Brother this set of Oracle Tutorial Training learning Oracle Sql*loader Concepts and usage and sql* Loader two cases, while the courseware with nearly 20 cases for e
SQL Multiple primary key tables, when the inserted data is duplicated, are prompted to violate the primary KEY constraint that cannot be inserted by the error. So, how do I find duplicate values for the inserted data? Workaround: Use Group bySuppose there is a table #a , t
each time will first Truncate, but also need to back up every time from a data extracted, this time also can use multicast. Each time the data is extracted from A, the data is directed to B's backup table by multicast.
The third, similar to the second, is that there is no backup table, but you need to keep some of the loaded Audit information
If the structures of multiple tables are different, it seems impossible to query the results of multiple tables together! For example, Table
If the structures of multiple tables are different, it seems impossible to query the resu
))+'.xls "-c-q-S" ServerName "-U" sa "-P" SAPASSWORD "-d" DBName "'-- Query conditions that meet the conditions record and save it to the xls file-- Execute the assembled statement using the stored procedure of the xp_cmdshell System (enable the cmdshell component in advance using the advanced Option Switch)Exec master .. xp_mongoshell @
', ' 95 ', ' running ') 7. Query average score?Select AVG (score) as average scoreFrom Student-18. Query the surname Zhang?SELECT * FROM Student-1Where name like ' Zhang% '9. Use truncate to delete all dataTRUNCATE TABLE Student-1 Write so many examples just hope that everyone ingenious, this case is a student score table to do the demonstration, in exchange for other tables, the syntax is the same, this a
Tags: int table date from table association Here you must copy the insert1. When adding data to SQL, you must have the condition that the Insert field is in the table in the (Select) field.INSERT INTO table_name (V1,V2,V3) VALUES (select a,b,c from query table where condition)2. This
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.